package work;

import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;

public class Work {
    public static void main(String[] args) {
        int [][] arr = {{1,55,-5},{34,59,86,13,-4},{100,72,32,45}};
        System.out.println("二维元素如下");
        //注意这种写法
        for(int [] is : arr){
            for(int i:is){
                System.out.printf("%-3d%4s",i," ");
            }
            System.out.println();
        }
    }

}
